﻿using Project.Core.Config.Entity;
using System.ComponentModel.DataAnnotations.Schema;

namespace Project.Core.Test.Entity {
    /// <summary>
    /// 角色与权限中间表
    /// </summary>
    [Table("sys_roleperm")]
    public class SysRolePerm : BaseEntity<int>
    {
        /// <summary>
        /// 角色id
        /// </summary>
        [Column("sys_role_id")]
        public int SysRoleId { get; set; }
        /// <summary>
        /// 权限id
        /// </summary>
        [Column("sys_perm_id")]
        public int SysPermId { get; set; }
    }
}
